using System.Web.Mvc;
using Castle.Windsor;
using ThunderJob.Controllers.Binders;
using ThunderJob.Controllers.Security;

namespace ThunderJob.Bootstrapper.Configuration
{
    public class ModelBindersConfiguration : IConfigurationTask
    {
        public void Configure()
        {
            ModelBinders.Binders[typeof(IUserIdentity)] = new UserIdentityModelBinder();
        }
    }
}